<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.mytrip.model.Userinfo" import="com.mytrip.webapp.filter.CtxSessionBag"%>
<%
	String t = request.getParameter("t")!=null?request.getParameter("t"):"1";
	Userinfo userinfo = (Userinfo)CtxSessionBag.getSessionBag().getUserinfo();
%>
  <div id="top">
    <div id="logo"><a href="<%=request.getContextPath() %>/front/home.action" class="logo"></a></div>
    <div id="top_right">
      <div class="user"> <a href="<%=request.getContextPath() %>/front/myDetail.action"><%=userinfo.getRealName()%></a> ！ <a href="<%=request.getContextPath() %>/front/myDetail.action">个人信息</a> | <a href="<%=request.getContextPath() %>/front/logout.action">安全退出</a></div>
      <ul class="tabs">
        <li <%if("1".equals(t)){out.print("class=\"selected\"");}%>><a href="<%=request.getContextPath() %>/front/home.action">首页</a></li>
        <li <%if("2".equals(t)){out.print("class=\"selected\"");}%>><a href="<%=request.getContextPath() %>/front/trip!showNextTrip.action">我的行程</a></li>
        <li <%if("3".equals(t)){out.print("class=\"selected\"");}%>><a href="<%=request.getContextPath() %>/front/order!flightSearchPre.action">机票</a></li>
        <li <%if("4".equals(t)){out.print("class=\"selected\"");}%>><a href="<%=request.getContextPath() %>/front/order!hotelSearchPre.action">酒店</a></li>
        <li <%if("5".equals(t)){out.print("class=\"selected\"");}%>><a href="<%=request.getContextPath() %>/front/myDetail.action">个人中心</a></li>
      </ul>
    </div>
  </div>
